package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import com.atguigu.yygh.vo.order.OrderMqVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA
 *
 * @Date: 2022/12/21 - 16:14
 * @Author: Hyoung
 * @Description:
 */
public interface ScheduleService {
    void save(Map<String, Object> paramMap);

    Page<Schedule> selectPage(int page, int limit, String hoscode);

    void remove(String hoscode, String hosScheduleId);

    Map<String, Object> getRuleSchedule(Long page, Long limit, String hoscode, String depcode);

    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);

    Map<String, Object> getBookingScheduleRule(String hoscode, String depcode);

    Schedule getDetailById(String id);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    /**
     * 更新数据
     *
     * @param orderMqVo
     */
    void updateByOrderMqVo(OrderMqVo orderMqVo);
}
